From a81b3d47fe52be866119ea888256d1c6323cfc3a Mon Sep 17 00:00:00 2001 From: robertlipe Date: Sun, 25 Aug 2013 19:29:07 +0000 Subject: [PATCH] Actually commit leak fix I just told Steve I committed before lunch. {blush} --- gpsbabel/gpx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/gpx.cc b/gpsbabel/gpx.cc index dbd4b92d2..dc2689dab 100644 --- a/gpsbabel/gpx.cc +++ b/gpsbabel/gpx.cc @@ -1101,7 +1101,7 @@ gpx_end(const QString& el) case tt_wpt_sym: case tt_rte_rtept_sym: case tt_trk_trkseg_trkpt_sym: - wpt_tmp->icon_descr = xstrdup(CSTR(cdatastr)); + wpt_tmp->icon_descr = cdatastr; break; case tt_wpt_time: case tt_trk_trkseg_trkpt_time: -- 2.30.2